package edu.sctu.jarime.may.day20150504;

/**
 * Created by user19 on 2015/5/5.
 */public class Dogthree extends Dogs{


    public IsInterface isinterface;

    public Dogthree(IsInterface isinterface){
        this.isinterface=isinterface;

    }

    @Override
    public void color() {
        color="yellow";

    }

    @Override
    public void size() {
        size="smell";

    }

    @Override
    public void action() {
        action ="sleep";

    }


    public void output(){
        isinterface.getinformation(color,size,action);
    }
}

